package com.example.demo.core;

public class DefineConstant {
	
	public static final String ENCRYKEY = "BFEA1563FA36C424B0E545A2A997B6A9";
	
	/**
	 * 允许登陆
	 */
	public static final int ALLOWLOGIN = 1;
	
	/**
	 * windows系统
	 */
	public static final String WINDOWSOS = "WINDOWS";
	
	/**
	 * linux系统
	 */
	public static final String LINUXOS = "LINUX";
	
	/**
	 * 组织机构数据在缓存中的键值
	 */
	public static final String ORG_CACHE_KEY = "ORGTREE";
	
	/**
	 * 菜单数据在缓存中的键值
	 */
	public static final String MENU_CACHE_KEY = "MENUTREE";
	
	/**
	 * RSA公钥再redis中的前缀
	 */
	public static final String RSA_PUB_KEY_PRE = "RSA_PUB:";
	
	/**
	 * 字典数据在缓存中的键值
	 */
	public static final String DICT_CACHE_KEY = "DICTDATA";
	
	/**
	 * 登录令牌名称
	 */
	public static final String AUTH_TOKEN_NAME = "token";
	
	/**
	 * redis中token的key前缀
	 */
	public static final String REDIS_TOKEN_PRE = "token:";
	
	/**
	 * redis中锁的前缀
	 */
	public static final String REDIS_LOCK_PRE = "lock:";
}
